<template>
  <div>
    <SlotDemo title="黑马">
      <button>{{ msg }}</button>
    </SlotDemo>

    <SlotDemo title="机构">
     <p>你和</p>
    </SlotDemo>
  </div>
</template>

<script>
import SlotDemo from './components/slot-demo.vue'
export default {
  components: {
    SlotDemo,
  },
  data() {
    return {
      msg: '黑马',
    }
  },
}
</script>

<style></style>
